package com.xy.biz.base.client;

import com.xy.biz.base.domain.dto.RegionDTO;
import com.xy.biz.base.domain.req.ListRegionRequest;
import com.xy.lang.domain.Result;

import java.util.Collection;
import java.util.List;

/**
 * @author Greekn Zhang
 * @date 2021/9/26 15:02
 * @description
 */
public interface RegionClient {

    Result<List<RegionDTO>> listRegion(ListRegionRequest request);

    /**
     * 根据Id获取辖区
     */
    Result<List<RegionDTO>> listRegionById(Collection<Long> collection);
}
